

package com.kimo.shop.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kimo.shop.bean.model.Supplier;
import com.kimo.shop.dao.SupplierMapper;
import com.kimo.shop.service.SupplierService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 *
 *
 * @author kimo-taozhouchuan
 * @date 2020-08-25 15:50:06
 */
@Service
@AllArgsConstructor
public class SupplierServiceImpl extends ServiceImpl<SupplierMapper, Supplier> implements SupplierService {

    private final SupplierMapper supplierMapper;

    @Override
    public Integer getCountByName(String supplierName) {
        return supplierMapper.getCountByName(supplierName);
    }
}
